import { DialogTable } from 'custom/index'
import { getAssignAlertDetail } from '../api'

const distributionDialog = new DialogTable('DialogTable')

distributionDialog
  .title('详情')
  .width('50%')
  .api(getAssignAlertDetail)
  .useTable()
    .addIndexColumn()
    .useColumn('accountNo').label('子账号编号').end()
    .useColumn('accountName').label('子账号名称').end()
    .useColumn('flowerName').label('客户名称').end()
    .useColumn('name').label('客户花名').end()
    .useColumn('conventionSalary').label('分摊底薪').end()
    .upto('DialogTable')
  .usePagination()

export default distributionDialog
